/*
 * @Author: lpz1096
 * @Date: 2021-12-07 17:14:05
 * @LastEditors: lpz1096
 * @LastEditTime: 2021-12-08 14:16:14
 * @Description:
 * @FilePath: \ptadmin\src\api\orderAccount.js
 */
import http from "@/utils/http"
const prefixUrl = "/recharge"
const payPrefixUrl = "/settlement"
export default {
    role: {
        rechargeQuery: "GET:/recharge",
        paymentQuery: "GET:/settlement",
        paymentDetail: "GET:/settlement/:id",
    },
    rechargeQuery(params) {
        return http.get(prefixUrl, params)
    },
    paymentQuery(params) {
        return http.get(payPrefixUrl, params)
    },
    paymentDetail(id) {
        return http.get(payPrefixUrl + "/" + id)
    },
}